CC		=	@CC@
CFLAGS		=	@CFLAGS@
LDFLAGS		=	@LDFLAGS@ @LIBS@

EXECS		=	carwhisperer
CP		=	cp
MV		=	mv
RM		=	rm
GZIP	=	gzip
MKDIR	=	mkdir

all:	$(EXECS)


all: carwhisperer

carwhisperer:		carwhisperer.c
	$(CC) $(CFLAGS) carwhisperer.c -o carwhisperer -lbluetooth

clean:
	rm -f carwhisperer

#install:
#	cp carwhisperer	/usr/bin/
#	cp /etc/bluetooth/hcid.conf /etc/bluetooth/hcid.conf.old
#	cp hcid.conf /etc/bluetooth/hcid.conf
#	cp cw_pin.pl /usr/bin/
#	cp cw_scanner /usr/bin/

#uninstall:
#	rm /usr/bin/carwhisperer
#	mv /etc/bluetooth/hcid.conf.old /etc/bluetooth/hcid.conf
#	rm /usr/bin/cw_pin.pl 
#	rm /usr/bin/cw_scanner 

	
	
